package it.polimi.traveldream.ejb.management;

import java.util.Date;
import java.util.List;

import javax.ejb.Local;

@Local
public interface PackMng {
	public void save(PackDTO pack);
	
	public void update(PackDTO user);
	
	public void delete(PackDTO pack);

	public PackDTO getPackDTO();
	
	public List<PackDTO> searchByName(String value);
	public List<PackDTO> searchByDate(Date start, Date end);
	public List<PackDTO> getListaPacchetti();
	public PackDTO getSelectedPack();
	public List<PackDTO> searchCitta(String parola);
	public List<PackDTO> searchNome(String nome);
	public PackDTO searchById(int id);
	public List<PackDTO> listaPaccDisp();
	public List<PackDTO> searchCittaDisp(String citta);
	
}
